
<html　xmlns="http://www.thymeleaf.org">
<head>
	<title>用户信息</title>
 <script th:inline="javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript"  src="../../static/jquery.js"  ></script>

    <script type="text/javascript" src="../../static/pageCommon.js"    charset="utf-8"></script>
    <script type="text/javascript" src="../../static/PageUtils.js"    charset="utf-8"></script>
    <link type="text/css" rel="stylesheet" href="../../static/style/blue/pageCommon.css" />
    <script type="text/javascript">
    </script>  
</head>
<body>

<!-- 标题显示 -->
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="../../static/style/images/title_arrow.gif"/> 用户信息
        </div>
        <div id="Title_End"></div>
    </div>
</div>


<!--显示表单内容-->
<div id=MainArea>

    <form action="editSaveAction" method="post">
    	
    
        <div class="ItemBlock_Title1"><!-- 信息说明 --><div class="ItemBlock_Title1">
        	<img border="0" width="4" height="7"  src="../../static/style/blue/images/item_point.gif" /> 用户信息 </div> 
        </div>
        
        <!-- 表单内容显示 -->
        <div class="ItemBlockBorder">
            <div class="ItemBlock">
                <table  class="mainForm">
                    <tr>
                    	<td width="100">所属部门</td>
                        <td>
                            <select name="departmentId" class="SelectStyle"
                            	  headerValue="请选择部门"   >
                            	   <option value="0"　th:text="${department.dname}">请选择</option>
                            	  <option th:each="item:${departments}" th:value="${item.did}"  th:text="${item.dname}" >d</option>
                            </select>
                        </td>
                    </tr>
                    <!-- 
                    <tr><td>登录名</td>
                        <td><input name="loginName" class="InputStyle"/> *
							（登录名要唯一）
						</td>
                    </tr>
                     -->
                    <tr><td>姓名</td>
                        <td><input  type="text"   name="name" class="InputStyle"  th:value="${user.username}"/> *</td>
                    </tr>
                    <!-- 
					<tr><td>性别</td>
                        <td>
                        	
							<input type="radio" value="male" checked="checked" name="sex"/>男
                            <input type="radio" value="female" name="sex"/>女
						</td>
                    </tr>
                     -->
					<tr><td>联系电话</td>
                        <td><input type="text" name="phoneNumber" class="InputStyle" th:value="${user.phone}"/></td>
                    </tr>
                    <tr><td>E-mail</td>
                        <td><input type="text"  name="email" class="InputStyle"　th:value="${user.email}"/></td>
                    </tr>
                    <tr><td>备注</td>
                        <td><textarea name="description"  class="TextareaStyle" th:text="${user.udesc}"></textarea></td>
                    </tr>
                </table>
            </div>
        </div>
        
		<div class="ItemBlock_Title1"><!-- 信息说明 --><div class="ItemBlock_Title1">
        	<img border="0" width="4" height="7" src="../../static/style/blue/images/item_point.gif" /> 岗位设置 </div> 
        </div>
        
        <!-- 表单内容显示 -->
        <div class="ItemBlockBorder">
            <div class="ItemBlock">
                <table  class="mainForm">
                    <tr>
						<td width="100">岗位</td>
                        <td>
 
                  	<select name="post" >
        <option value="0" th:text="${userpost.pname}">请选择</option>
        <option th:each="item:${posts}"  th:text="${item.pname}" 
	        th:value="${item.pid}"  ></option>
        
      </select>
                  

							
                        </td>
                    </tr>
                </table>
            </div>
        </div>		
		
        <!-- 表单操作 -->
        <div id="InputDetailBar">
            <input type="image" src="../../static/style/images/save.png"/>
            <a href="javascript:history.go(-1);"><img src="../../static/style/blue/images/button/goBack.png"/></a>
        </div>
    </form>
</div>

<div class="Description">
	说明：<br />
	1，用户的登录名要唯一，在填写时要同时检测是否可用。<br />
	2，新建用户后，密码被初始化为"1234"。<br />
	3，密码在数据库中存储的是MD5摘要（不是存储明文密码）。<br />
	4，用户登录系统后可以使用“个人设置→修改密码”功能修改密码。<br />
	5，新建用户后，会自动指定默认的头像。用户可以使用“个人设置→个人信息”功能修改自已的头像<br />
	6，修改用户信息时，登录名不可修改。
</div>

</body>
</html>
